package org.jazz.member;

public class MemberVO {
	
	private String userid;
	private String userpw;
	private String userName;
	private Integer userAge;
	private String userSex;
	
	
	public MemberVO() {
		super();
	}

	public MemberVO(String userid, String userpw) {
		super();
		this.userid = userid;
		this.userpw = userpw;
	}

	public MemberVO(String userid, String userpw, String userName,
			Integer userAge, String userSex) {
		super();
		this.userid = userid;
		this.userpw = userpw;
		this.userName = userName;
		this.userAge = userAge;
		this.userSex = userSex;
	}


	public String getUserid() {
		return userid;
	}


	public void setUserid(String userid) {
		this.userid = userid;
	}


	public String getUserpw() {
		return userpw;
	}


	public void setUserpw(String userpw) {
		this.userpw = userpw;
	}


	public String getUserName() {
		return userName;
	}


	public void setUserName(String userName) {
		this.userName = userName;
	}


	public Integer getUserAge() {
		return userAge;
	}


	public void setUserAge(Integer userAge) {
		this.userAge = userAge;
	}


	public String getUserSex() {
		return userSex;
	}


	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}

	@Override
	public String toString() {
		return "MemberVO [userid=" + userid + ", userpw=" + userpw
				+ ", userName=" + userName + ", userAge=" + userAge
				+ ", userSex=" + userSex + "]";
	}


	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((userid == null) ? 0 : userid.hashCode());
		result = prime * result + ((userpw == null) ? 0 : userpw.hashCode());
		return result;
	}


	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MemberVO other = (MemberVO) obj;
		if (userid == null) {
			if (other.userid != null)
				return false;
		} else if (!userid.equals(other.userid))
			return false;
		if (userpw == null) {
			if (other.userpw != null)
				return false;
		} else if (!userpw.equals(other.userpw))
			return false;
		return true;
	}
	
	
	
}
